package com.rd.student.jiaji.class3.sunguowei.day0802.CountPractice;

import java.util.Arrays;

public class Test2 {
    public static void main(String[] args) {
        int[] arr={1, 3, 5, 7, 9, 11, 13, 15, 17};
        int[] arr1= new int[9];
        System.arraycopy(arr,0,arr1,0,5);
        System.arraycopy(arr,6,arr1,5,3);
        System.out.println(Arrays.toString(arr1));
    }
}
